import json
from config import BASE_PATH
def read_json(filename):

    with open(filename,"r",encoding="utf8")as f:
        login_data=json.load(f)
        login_list=[]
        for i in login_data:
            login_list.append(tuple(i.values()))
        return login_list
if __name__ == '__main__':
    filename = BASE_PATH + "/data/ihrm_login_data.json"
    resp=read_json(filename)
    print(resp)